Silver per m2 Calculations¶

This journal documents the calculations and assumptions for the silver baseline file used in the calculator.

In [1]:
import numpy as np
import pandas as pd
import os,sys
from pathlib import Path
import matplotlib.pyplot as plt
plt.rcParams.update({'font.size': 22})
plt.rcParams['figure.figsize'] = (12, 8)

cwd = os.getcwd() #grabs current working directory

baselinesfolder = str(Path().resolve().parent.parent.parent /'PV_ICE' / 'baselines')
supportMatfolder = str(Path().resolve().parent.parent.parent / 'PV_ICE' / 'baselines' / 'SupportingMaterial')

density_Ag = 10.49 #g/cm3, source Wikipedia

Pre-Journal Calculations¶

From the ITRPVs, we have grams of Ag per cell from 2009 through 2019, with projections through 2030. Data for silver per cell for 4 different types of cell were extracted from ITRPV graphs with "webplotdigitizer" then rounded to ~2 significant figures. The 4 types of cell noted in ITRPV 2019 and 2020 are Monofacial p-type, Bifacial p-type, HJT n-type, and n-type. Some mathmatical assumptions:

1) n-type cells account for only 5% of the world market share and have for the last decade. While the amount of silver in the two different n-type cells is noteably different, because their marketshare is so small, these two n-type cell silver quantities were averaged together.

2) The difference in silver per cell between bifacial and monofacial cells is not significant, and were therefore averaged together.

Therefore the process for determining the average silver per cell across the different technologies was:

    average silver per cell = 0.95*(average of monofacial and bifacial p-type) + 0.05*(average of n-type)

This math was completed in the google spreadsheet of raw data https://docs.google.com/spreadsheets/d/1WV54lNAdA2uP6a0g5wMOOE9bu8nbwvnQDgLj3GuGojE/edit?usp=sharing then copied to a csv and is uploaded here.

In [2]:
#read in the csv of 2009 through 2030 data for silver per cell.

skipcols = ['Source']
itrpv_ag_gpc = pd.read_csv(os.path.join(supportMatfolder, "ag_g_per_cell.csv"), 
                           index_col='Year', usecols=lambda x: x not in skipcols)
In [3]:
itrpv_ag_gpc
Out[3]:
Ag_g_per_cell
Year
1995 0.880000
1996 NaN
1997 NaN
1998 NaN
1999 NaN
2000 NaN
2001 NaN
2002 NaN
2003 NaN
2004 NaN
2005 NaN
2006 NaN
2007 NaN
2008 NaN
2009 0.400000
2010 0.300000
2011 0.250000
2012 0.200000
2013 0.140000
2014 0.130000
2015 0.110000
2016 0.100000
2017 0.100000
2018 0.106000
2019 0.102625
2020 0.092625
2021 0.086750
2022 NaN
2023 0.080875
2024 NaN
2025 0.070875
2026 NaN
2027 NaN
2028 0.065250
2029 NaN
2030 NaN
2031 0.054625
2032 NaN
2033 NaN
2034 NaN
2035 NaN
2036 NaN
2037 NaN
2038 NaN
2039 NaN
2040 NaN
2041 NaN
2042 NaN
2043 NaN
2044 NaN
2045 NaN
2046 NaN
2047 NaN
2048 NaN
2049 NaN
2050 NaN
In [4]:
#plot the raw data
plt.plot(itrpv_ag_gpc, marker="o")
plt.title("Silver mass per cell over time")
plt.ylabel("Silver, grams/cell")
Out[4]:
Text(0, 0.5, 'Silver, grams/cell')

Based on looking at the plot of original data, it doesn't seem crazy to linearly interpolate for missing data

In [5]:
ag_gpc = itrpv_ag_gpc.interpolate()
plt.plot(ag_gpc, marker="o")
plt.title("Silver mass per cell over time")
plt.ylabel("Silver, grams/cell")
Out[5]:
Text(0, 0.5, 'Silver, grams/cell')

Convert to a per module area basis (not per cell)¶

In [6]:
#import cell per m2 from the silicon baseline
cpm2 = pd.read_csv(os.path.join(supportMatfolder, "output_cell_per_m2.csv"),
                   index_col='Year', usecols=lambda x: x not in skipcols)
#print(cpm2)
In [7]:
#convert silver per cell to silver per m^2 of module, based on output from silicon baseline
ag_gpc.columns = cpm2.columns = ['ag_g_per_m2'] #rename to a common name
ag_gpm2 = ag_gpc.mul(cpm2, 'columns') #multiply
plt.plot(ag_gpm2)
plt.title("Silver mass per module m2 over time")
plt.ylabel("Silver, grams/module m2")
Out[7]:
Text(0, 0.5, 'Silver, grams/module m2')

Extend projection through 2050¶

It appears that the silver per cell is expected to level out by 2025 or so. We will extend 2030 values through 2050 as a "lower limit" or minimal further improvement.

In [8]:
#create an empty df as a place holder
yrs = pd.Series(index=range(2031,2050), dtype='float64')
tempdf = pd.DataFrame(yrs, columns=['ag_g_per_m2'])
fulldf = pd.concat([ag_gpm2,tempdf]) #attach it to rest of df

#set the 2050 value to the same as 2030
fulldf.loc[2050] = fulldf.loc[2030]
#interpolate for missing values
ag_gpm2_full = fulldf.interpolate()
#print(ag_gpm2_full)

#plot
plt.plot(ag_gpm2_full)
plt.title("Silver mass per module area over time")
plt.ylabel("Silver, grams/module m2")
Out[8]:
Text(0, 0.5, 'Silver, grams/module m2')
In [9]:
#print out to csv
ag_gpm2_full.to_csv(os.path.join(supportMatfolder, 'output_ag_g_per_m2.csv'), index=True)
In [ ]: